<?php
$this->beginWidget('zii.widgets.jui.CJuiDialog', array(
    'id'=>'changeMeanDlg',
    // additional javascript options for the dialog plugin
    'options'=>array(
        'modal' => true,
        'draggable' => false,
        'title'=>'Changing Mean',
        'autoOpen'=>false,
        'buttons' => array("OK" => "js:ApplyMeanChanges", "Cancel" => "js:CancelMeanChanges"),
    ),
));
?>
<input type="hidden" id="sourceInput" name="sourceInput" />
<table>
    <tr>
        <th>Case</th>
        <th>Probality</th>
        <th>Expected return </th>
    </tr>
    <tr>
        <td>Best</td>
        <td><input type="text" name="best_probality" id="best_probality" /></td>
        <td><input type="text" name="best_return" id="best_return" /></td>
    </tr>
    <tr>
        <td>Normal</td>
        <td><input type="text" name="normal_probality" id="normal_probality" /></td>
        <td><input type="text" name="normal_return" id="normal_return" /></td>
    </tr>
    <tr>
        <td>Worst</td>
        <td><input type="text" name="worst_probality" id="worst_probality" /></td>
        <td><input type="text" name="worst_return" id="worst_return" /></td>
    </tr>
</table>
<?php $this->endWidget(); ?>
